// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
/* 解决300毫秒问题 */
import fastclick from 'fastclick'
/* 对基础样式的修饰 */
import 'styles/reset.css'
/* 引入一像素问题 */
import 'styles/border.css'
/* 引入iconfont */
import 'styles/iconfont.css'

// 解决部分手机白屏
import 'babel-polyfill'
/* 引入轮播图组件 */
import VueAwesomeSwiper from 'vue-awesome-swiper'

// require styles
import 'swiper/dist/css/swiper.css'

// 引入vuex
import store from './store/index'

Vue.use(VueAwesomeSwiper)

Vue.config.productionTip = false
fastclick.attach(document.body)
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
